<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>浮动弹出层</title>
<meta content="" name="description">
<script type="text/javascript" src="/j-tool/jquery.js"></script>
<script>
	function launchFullScreen(element) 
	{  
		if(element.requestFullScreen) 
		{  
			element.requestFullScreen();  
		}else if(element.mozRequestFullScreen) 
		{
			element.mozRequestFullScreen();  
		}else if(element.webkitRequestFullScreen) 
		{
			element.webkitRequestFullScreen();  
		}  
	}  
	$('html').click(function() {launchFullScreen(document.documentElement);})
</script>
<body>
<button onclick="launchFullScreen(document.documentElement);">全屏</button>
</body>
</html>